package server.core;

import server.Context;
import server.Lifecycle;
import server.LifecycleEvent;
import server.LifecycleListener;

public class SimpleContextConfig implements LifecycleListener {
    @Override
    public void lifecycleEvent(LifecycleEvent event) {
        if (Lifecycle.START_EVENT.equals(event.getType())) {
            Context context = (Context) event.getLifecycle();
            context.setConfigured(true);
        }

    }
}
